package cn.raven.user.service;

import cn.raven.basic.dto.EmailRegisterDto;
import cn.raven.basic.dto.VerifyRegisterDto;
import cn.raven.user.domain.User;
import cn.raven.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Raven
 * @since 2022-07-06
 */
public interface IUserService extends IBaseService<User> {
    //手机注册
    void register(VerifyRegisterDto verifyRegisterDto);
    //邮箱注册
    void email(EmailRegisterDto emailRegisterDto);
    //登出
    void loginOut(HttpServletRequest request);

    User findByLogininfoId(Long id);
}
